<? ini_set('memory_limit','10000M');?>
<style>
body { margin-top:10; font-size:12px;}
		.b_line { border-bottom:1px #AAAAAA solid; height:25px; font-size:14px}
		.border_t{border-top:1px inset #EEE;}
		.border_b{border-bottom:1px inset #EEE;}
		.border_l{border-left:1px inset #EEE;}
		.border_r{border-right:1px inset #EEE;}
		.xx:hover {cursor:pointer; background:#99FF99;}
		.xy:hover {cursor:pointer; background:#F30;}
		.box{border:1px solid #003}
		.box_t{border-top:1px solid #003;}
		.box_lbr{border:1px solid #003; border-top:none}
		.box_ltr{border:1px solid #003; border-bottom:none}
		.box_l{border-left:1px solid #003;}
		.box_r{border-right:1px solid #003;}
		.box_lb{border-left:1px solid #003;border-bottom:1px solid #003;}
		.box_rb{border-right:1px solid #003;border-bottom:1px solid #003;}
		.list_genap{cursor:pointer; background-color:#6699FF;}
		.list_ganjil{cursor:pointer; background-color:#9966FF;}
		.list_closed{cursor:pointer; background-color:#FF99FF;}
</style>
<? 
foreach($lst as $r)
{
	$no_kwt=$r->doc_no;
	$nm_member=$r->nm_member." - ".$r->nip_member ." - ".$r->nm_lokasi;
	$jml=($r->jenis_trans=='Simpanan')?$r->kredit:$r->debet;
	$untuk=$r->ket_trans;
	$tanggal=longDate(tglFromSql($r->tgl_trans));
	$terbilang=$this->zetro_terbilang->terbilang($jml);	
}
//for ($i=1;$i<=5;$i++){?>
<table style='border-collapse:collapse' width='100%'>
	<!--<tr align='center'><td colspan='4'><h2><? //=$coy;?></h2><? //=$add;?></td></tr>-->
	<tr align='center'>
	<td width='25%'><img src="<?=base_url();?>asset/img/ziebar_long2.png"><p><?=$add;?></td>
	<td colspan='3' valign='middle'><h1>KWITANSI</h1></td></tr>
	<tr><td colspan='4'><hr></td></tr>
	<tr><td>No.Rekening :</td><td class='box_l'><?=nbs(5);?>No. Kwitansi</td><td colspan='2'>: <?=$no_kwt;?></td></tr>
	<tr><td>&nbsp;</td> <td class='box_l'><?=nbs(5);?>Telah terima dari</td><td colspan='2'>:<b> <?=$nm_member;?></b></td></tr>
	<tr><td>Atas Nama : Koperasi Karyawan Bank BJB</td><td class='box_l'><?=nbs(5);?>Uang Sebesar</td>
	<td colspan='2'>: <mark><i><?=$terbilang;?></i></mark></td></tr>
	<tr><td>&nbsp;</td><td class='box_l'><?=nbs(5);?>Untuk Pembayaran</td><td colspan='2'>: <?=$untuk;?></td></tr>
	<tr height='250px'><td>&nbsp;</td><td class='box_l'>&nbsp;</td><td colspan='2'></td></tr>
	<tr><td>&nbsp;</td><td class='box_l' colspan='2'></td><td align='center'>Bandung, <?=$tanggal;?></td></tr>
	<tr height='150px'><td>&nbsp;</td><td class='box_l'><?=nbs(5);?><b><i>Rp. <?=number_format($jml,0);?>,-</i></b></td><td colspan='2' align='center'></td></tr>
	<tr><td>&nbsp;</td><td class='box_l'colspan='2'>&nbsp;</td><td  align='center'>_______________________</td></tr>
	<tr><td colspan='4'><hr></td></tr>
</table>
<br><br>
<? //}?>
	
